package com.tom.demo.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tom.demo.common.entity.SysRoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author Admin
* @description 针对表【sys_role_menu(角色和菜单关联表)】的数据库操作Mapper
* @createDate 2025-03-01 21:34:16
* @Entity com.tom.demo.common.entity.SysRoleMenu
*/
@Mapper
@DS("master")
public interface SysRoleMenuMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysRoleMenu record);


    SysRoleMenu selectByPrimaryKey(Long id);


    int updateByPrimaryKey(SysRoleMenu record);

    void deleteByRoleId(@Param("roleId") String roleId);
}
